package com.ren.user.mapper;

import com.ren.feign.entity.ReclUserVo;
import com.ren.user.entity.ReclUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author RZY
 * @since 2022-07-13
 */
public interface ReclUserMapper extends BaseMapper<ReclUser> {

    List<ReclUserVo> getRemoteFmUsersInfo(@Param("userIds") List<Long> userIds);

    ReclUserVo getRemoteFmUserInfoById(Long userId);

    List<ReclUserVo> getRemoteArticleUsersInfo(@Param("userIds") List<Long> userIds);

    ReclUserVo getRemoteArticleUserInfoById(Long userId);
}
